using UnityEngine;
using UnityEditor;
using System.Collections.Generic;

[CanEditMultipleObjects]
[CustomEditor(typeof(UI2DSpriteEx), true)]
public class UI2DSpriteExEditor : UI2DSpriteEditor
{
    protected override bool ShouldDrawProperties ()
    {
        SerializedProperty fixedAspectModeSp = NGUIEditorTools.DrawProperty("FixedAspectMode", serializedObject, "mFixedAspectMode");
        SerializedProperty sp = NGUIEditorTools.DrawProperty("Preload Sprite", serializedObject, "preloadSpriteEx");

        bool ret = base.ShouldDrawProperties();
        return ret;
    }
}
